<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
            #box{
            display: flex;
            width: 250px;
            height: 300px;
            background-color: #e38d8d;
        }
        #box div{
           width: 50px;
           height: 50px;

        }

    </style>
</head>
<body>
    <div id="box">
        <div style="background-color: red;"></div>
        <div style="background-color:yellow;"></div>
        <div style="background-color: black;"></div>
        <div style="background-color: red;"></div>
        <div style="background-color:yellow;"></div>
        <div style="background-color: black;"></div>
        <div style="background-color: red;"></div>
        <div style="background-color:yellow;"></div>
        <div style="background-color: black;"></div>
        

    </div>
</body>
</html>